package io.renren.modules.app.entity.ibps;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 审批
 * 
 * @author Administrator
 *
 */
@Data
@Entity
@Accessors(chain = true)
@Table(name = "ibps_bpm_approval")
public class BpmApproval {
	@Id
	@Column(name = "ID_")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private String id;
	
	//流程定义ID
	@Column(name = "PROC_DEF_ID_")
	private String procDefId;
	
	//流程实例ID
	@Column(name = "PROC_INST_ID_")
	private String procInstId;
	//任务定义Key
	@Column(name = "TASK_KEY_")
	private String taskKey;
	
	//任务ID
	@Column(name = "TASK_ID_")
	private String taskId;
	//任务名称
	@Column(name = "TASK_NAME_")
	private String taskName;
	
//	[{id:"552159000695668736",type:"employee"}]//ibps_party_employee
//	[{id:"534674113780776960",type:"party"}] //ibps_party_entity
	//有审批资格用户ID串
	@Column(name = "QUALFIEDS_")
	private String qualfieds;
	//是否已经推送过了
	@Column(name = "push")
	private Boolean push;
	
	
}
